package Commands;

import Telas.TelaPadrao;
import Telas.pesquisas.TelaPesquisaPadrao;

public abstract class Command {
	private TelaPadrao tela = null;
	private TelaPesquisaPadrao telaPesquisa = null;
	public Command(TelaPadrao tela) {
		this.setTela(tela);
	}
	public Command(TelaPesquisaPadrao telaPesquisa) {
		this.telaPesquisa = telaPesquisa;
	}
	public abstract void execute();
	public void setTela(TelaPadrao tela) {
		this.tela = tela;
	}
	public TelaPadrao getTela() {
		return tela;
	}
	
	public TelaPesquisaPadrao getTelaPesquisa() {
		return telaPesquisa;
	}
}
